#define FREENECT_FRAME_W 640 /**< Default video frame width */
#define FREENECT_FRAME_H 480 /**< Default video frame height */
#define FREENECT_FRAME_PIX (FREENECT_FRAME_H*FREENECT_FRAME_W) /**< Pixel count for default video frame */
#define FREENECT_VIDEO_RGB_SIZE (FREENECT_FRAME_PIX*3) /**< Size of the decompressed rgb frame */
#define FREENECT_DEPTH_11BIT_SIZE (FREENECT_FRAME_PIX*2) /**< Size of the 11 bit depth frame */

//#define NUM_OF_FRAMES_TO_ENCODE 30
int num_of_frames_to_encode;
unsigned char *data;
unsigned char *output;
unsigned int outSize;
unsigned char *startData;
int isDepth;
int myffmpeg(int argc, char **argv);
